<ul class="pager">
  <li class="previous">
    <?php echo anchor(site_url(module_controller('view')),'&larr; Back');?>
  </li>
</ul>
<div class="user-profile row">
  <div class="col-xs-12 col-sm-3 center">
    <span class="profile-picture">
      <img class="editable img-responsive"src="<?php echo base_url(UPLOAD_PATH . ($row[field('image')] ? 'ads/' . $row[field('image')] : IMAGE_DEFAULT)); ?>" alt="" id="avatar2"  />
    </span>

    <div class="space-4"></div>

    <div class="width-80 label label-info label-xlg arrowed-in arrowed-in-right">
      <div class="inline position-relative">
        <a href="javascript: void(0);" class="user-title-label dropdown-toggle" data-toggle="dropdown">
          <span class="white"><?php echo $row[field('title')]; ?></span>
        </a>
      </div>
    </div>
  </div>
  <div class="col-xs-12 col-sm-9">
    <div class="profile-user-info profile-user-info-striped">
      <div class="profile-info-row">
        <div class="profile-info-name"> Title </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo $row[field('title')]; ?>&nbsp;</span>
        </div>
      </div>
    
      <div class="profile-info-row">
        <div class="profile-info-name"> Price </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo $row[field('price')]; ?>&nbsp;</span>
        </div>
      </div>
    
      <div class="profile-info-row">
        <div class="profile-info-name"> Type </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo $row[field('type')]; ?>&nbsp;</span>
        </div>
      </div>

      <div class="profile-info-row">
        <div class="profile-info-name"> Category </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo $row[field('category')]; ?>&nbsp;</span>
        </div>
      </div>

      <div class="profile-info-row">
        <div class="profile-info-name"> Location </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo $row[field('location')]; ?>&nbsp;</span>
        </div>
      </div>

      <div class="profile-info-row">
        <div class="profile-info-name"> User Process </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo $row[field('user')]; ?>&nbsp;</span>
        </div>
      </div>
        
      <div class="profile-info-row">
        <div class="profile-info-name"> Publish Date </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo dateFormat($row[field('publishedAt')]); ?>&nbsp;</span>
        </div>
      </div>

      <div class="profile-info-row">
        <div class="profile-info-name"> Active </div>
        <div class="profile-info-value">
          <span class="editable"><i class="icon icon-<?php echo $row[field('isDisable')] == 1 ? 'remove red' : 'ok';?>"></i>&nbsp;</span>
        </div>
      </div>
    
      <div class="profile-info-row">
        <div class="profile-info-name"> Created </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo dateFormat($row[field('createdAt')]); ?>&nbsp;</span>
        </div>
      </div>
    
      <div class="profile-info-row">
        <div class="profile-info-name"> Modified </div>
        <div class="profile-info-value">
          <span class="editable"><?php echo dateFormat($row[field('updatedAt')]); ?>&nbsp;</span>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="user-profile row"> 
  <div class="col-md-12">
    <h3>Short Description</h3>
    <div><?php echo $row[field('shortDescription')]; ?></div>
  </div>
  <div class="col-md-12">
    <h3>Description</h3>
    <div><?php echo $row[field('description')]; ?></div>
  </div>
</div>